package org.fly.jingwei.service;

import org.pentaho.big.data.impl.cluster.NamedClusterImpl;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 *
 * @author leo
 * @date 2017/6/15
 */
public interface HadoopService {
    String addHadoopCluster(NamedClusterImpl cluster) throws Exception;

    List<NamedClusterImpl> getAllCluster();

    NamedClusterImpl getCluster(String name);

    void deleteCluster(String clusterName);

    Integer getEleIdByClusterName(String clusterName);

    String updateHadoopCluster(HttpServletRequest request) throws Exception;
}
